package com.kandinfo.survey.common.service;

import com.kandinfo.base.common.dto.ResultDto;
import com.kandinfo.survey.common.dto.useranswer.UserAnswerRequestDto;

/**
 * 用户答题Service, created on 12/7/2016
 * 
 * @author Patrick-chenzp
 */
public interface UserAnswerService {
    
    /**
     * 用户做题试卷关系保存，用户开始做试卷保存一次
     * 
     * @param requestDto
     */
    void saveRela(UserAnswerRequestDto requestDto);
    
    /**
     * 用户做题试卷关系逻辑删除(param:questionnaireId)
     * 
     * @param requestDto
     */
    ResultDto deleteRela(UserAnswerRequestDto requestDto);
    
    /**
     * 用户做题保存(one by one)
     * 
     * @param requestDto
     */
    void saveData(UserAnswerRequestDto requestDto);
}
